﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using System.ComponentModel.DataAnnotations;

namespace WTM.Model
{

    public enum RyTypeEnum
    {
        //[Display(Name = "金融")]
        //jinrong,
            保安人员,
            物业人员,
            管理人员,
            巡逻人员,
            机动人员,
            后勤人员,
            维护人员,
            驾驶人员,
            无人机操作员,
            加油员
    }
    public enum XbEnum
    {
        男,女
    }
    public enum XueliEnum
    {
        小学,初中,高中,大学,硕士,博士,其他
    }
    public enum Hyzk
    {
        未婚,
        已婚,
        离异
    }
    public enum Ryqy
    {
        松桃县,
        沿河县,
        碧江区,
        其他
    }
    public enum ZtEnum
    {
        启用,
        停用,
        暂停,
        欠费,
        异常,
        超期,
        待审核,
        其他
    }

    public enum Jyqk
    {
      未就业,已就业,未知
    }
    public class Ry : BasePoco
  {
        //[Display( Name = "学校编码")]
        //[Required( ErrorMessage = "{0}是必填项")]
        //[RegularExpression( "^[0-9]{3,3}$", ErrorMessage = "{0}必须是3位数字")]
        //[StringLength(3)]
        //public string SchoolCode { get; set; }

        //[Display( Name = "学校名称")]
        //[StringLength( 50, ErrorMessage = "{0}最多输入{1}个字符")]
        //[Required(ErrorMessage = "{0}是必填项")]
        //public string SchoolName { get; set; }

        //[Display( Name = "学校类型")]
        //[Required( ErrorMessage = "{0}是必填项")]
        //public SchoolTypeEnum? SchoolType { get; set; }
        
        [Display(Name ="序号")]
        public string Xh { get; set; }
        
        [Display(Name ="姓名")]
        [StringLength(5, ErrorMessage = "{0}最多输入{1}个字符")]
        public string Xm { get; set; }
        
        [Display(Name = "性别")]
        // [Required(ErrorMessage = "{0}是必填项")]
        public XbEnum Xb { get; set; }

        [Display(Name = "民族")]
        // [Required(ErrorMessage = "{0}是必填项")]
        public string Mz { get; set; }

        [Display(Name = "身份证号码")]
        public string Sfz { get; set; }

        //[Display(Name = "年龄")]
        //public int Old { get; set; }


        [Display(Name = "家庭住址")]
        public string Dz { get; set; }

        [Display(Name = "政治面貌")]
        public string Zzmm { get; set; }

        [Display(Name = "身体健康情况")]
        public string Stjkqk { get; set; }

        [Display(Name = "学历")]
        public XueliEnum  Xueli { get; set; }

        [Display(Name = "婚姻状况")]
        public Hyzk  Hyzk { get; set; }

        [Display(Name = "入伍时间")]
        public DateTime  Rwsj { get; set; }

        [Display(Name = "退伍时间")]
        public DateTime Twsj { get; set; }

        [Display(Name = "技能特长情况")]
        public string  Jntc { get; set; }

        [Display(Name = "就业情况")]
        public Jyqk Jyqk { get; set; }

        [Display(Name = "创业情况")]
        public string  Cyqk { get; set; }

        [Display(Name = "需求意向")]
        public string  Xqyx { get; set; }

        [Display(Name = "住房情况")]
        public string  Zfqk { get; set; }

        [Display(Name = "联系电话")] //使用手机号码登录
        public string Phone { get; set; }

        [Display( Name = "备注")]
        public string Remark { get; set; }


        // [Display(Name = "RyId")]
        // public int RyId { get; set; }

        // [Display(Name = "状态")]
        // [Required(ErrorMessage = "{0}是必填项")]
        // public ZtEnum Zt { get; set; }


        // [Display(Name = "照片")]
        // public Guid? PhotoId { get; set; }
        // public FileAttachment Photo { get; set; }//关联文件


        // [Display(Name = "所属单位")]
        // public Guid? DwId { get; set; }
        // public Dw Dw { get; set; }

        // [Display(Name = "密码")] 
        // public string Pw { get; set; }

        // [Display(Name = "手机设备码")]
        // public string PhoneId { get; set; }

        // [Display(Name = "人员类别")]
        // public RyTypeEnum Rylb { get; set; }
        
        // [Display(Name = "职务")]
        // public string Zw { get; set; }

        // [Display(Name = "保安员证号/上岗证号/操作员证号")]
        // public string Zjhm { get; set; }
        
  }
    
}
